package com.mall.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.domain.dto.SearchForm;
import com.mall.domain.po.UserRole;
import com.mall.domain.vo.UserRoleVO;

import java.util.Map;

public interface UserRoleService extends IService<UserRole> {


    Page<UserRoleVO> getUserList(SearchForm searchForm, Integer page, Integer size);

    void assignRoleToUser(String userId, String roleId);
}
